<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">

    <title>商场物品库存管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!--<link rel="stylesheet" href="webjars/AdminLTE/2.3.8/bower_components/bootstrap/dist/css/bootstrap.min.css">-->
    <link rel="stylesheet" href="webjars/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="webjars/bootstrap/3.3.7/css/bootstrap-theme.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="webjars/font-awesome/4.7.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="webjars/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="webjars/adminlte/2.3.11/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" href="webjars/adminlte/2.3.11/dist/css/skins/_all-skins.min.css">

    <link rel="stylesheet" href="lib/uigird/ui-grid.min.css">
    <link rel="stylesheet" href="webjars/sweetalert2/6.11.4/dist/sweetalert2.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <!--<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>-->
    <!--<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>-->
    <!--<![endif]&ndash;&gt;-->

    <!-- Google Font -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
    <!-- REQUIRED JS SCRIPTS -->
    <!-- jQuery 3 -->
    <script src="webjars/jquery/3.2.0/jquery.min.js"></script>
    <script src="webjars/sweetalert2/6.11.4/dist/sweetalert2.all.min.js"></script>

    <script src="http://cdn.bootcss.com/blueimp-md5/1.1.0/js/md5.min.js"></script>
    <!-- Bootstrap 3.3.7 -->
    <script src="webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- AdminLTE App -->
    <script src="webjars/adminlte/2.3.11/dist/js/app.min.js"></script>

    <script src="webjars/chartjs/2.5.0/dist/Chart.min.js"></script>
    <script src="webjars/chartjs/2.5.0/dist/Chart.bundle.min.js"></script>
    <!--AngularJS-->
    <script src="webjars/angularjs/1.6.9/angular.min.js"></script>
    <script src="webjars/angularjs/1.6.9/angular-animate.min.js"></script>
    <script src="webjars/angularjs/1.6.9/angular-route.min.js"></script>
    <script src="webjars/angularjs/1.6.9/angular-touch.min.js"></script>
    <script src="lib/uigird/ui-grid.min.js"></script>
    <script src="webjars/angular-ui-bootstrap-bower/2.5.0/ui-bootstrap.min.js"></script>
    <script src="webjars/angular-ui-bootstrap-bower/2.5.0/ui-bootstrap-tpls.min.js"></script>
    <script src="webjars/angular-chart.js/1.0.0/dist/angular-chart.min.js"></script>

    <script src="webjars/lodash/4.17.4/lodash.min.js"></script>
    <script src="webjars/jszip/2.6.1/jszip.min.js"></script>
    <script src="lib/excel-builder.dist.js"></script>

    <!--&lt;!&ndash; jQuery 3 &ndash;&gt;-->
    <!--<script src="webjars/jquery/3.2.0/jquery.min.js"></script>-->
    <!--<script src="webjars/sweetalert2/6.11.4/dist/sweetalert2.all.min.js"></script>-->
    <!--&lt;!&ndash; Bootstrap 3.3.7 &ndash;&gt;-->
    <!--<script src="webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>-->
    <!--&lt;!&ndash; AdminLTE App &ndash;&gt;-->
    <!--<script src="webjars/adminlte/2.3.11/dist/js/app.min.js"></script>-->
    <!-- Optionally, you can add Slimscroll and FastClick plugins.
         Both of these plugins are recommended to enhance the
         user experience. -->

    <!-- My plugins -->
    <script src="lib/tools/ajax.js"></script>
    <script src="lib/tools/Alert.js"></script>

    <!-- App -->
    <script src="script/app.js"></script>
    <script src="script/controller/appCtr.js"></script>

    <script src="script/controller/homeCtr.js"></script>

    <!--commodityManage-->
    <script src="script/controller/commodity/commodityManageCtr.js"></script>
    <script src="script/controller/commodity/brandManageCtr.js"></script>
    <script src="script/controller/commodity/kindManageCtr.js"></script>
    <script src="script/service/commodityManageService.js"></script>

    <!-- ItemManage -->
    <script src="script/controller/item/inoutManageCtr.js"></script>
    <script src="script/controller/item/itemManageCtr.js"></script>
    <script src="script/controller/order/purchaseManageCtr.js"></script>
    <script src="script/controller/order/saleManageCtr.js"></script>

    <!--SysManage-->
    <script src="script/controller/system/userCtr.js"></script>
    <script src="script/controller/system/roleCtr.js"></script>
    <script src="script/controller/system/permitCtr.js"></script>
</head>

<body class="hold-transition skin-blue sidebar-mini" ng-app="app" ng-controller="appCtr">

<div class="login-box" ng-if="!isLogin">
    <div class="login-logo">
        <b>商场物品库存管理系统</b>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">请输入用户名密码登录系统</p>

        <form method="post">
            <div class="form-group has-feedback">
                <input type="username" class="form-control" placeholder="用户名" ng-model="user.username">
                <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="password" class="form-control" placeholder="密码" ng-model="user.password">
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="row">
                <!-- /.col -->
                <div class="col-xs-4">
                    <button type="submit" class="btn btn-primary btn-block btn-flat" ng-click="login()">登录</button>
                </div>
                <!-- /.col -->
            </div>
        </form>

    </div>
    <!-- /.login-box-body -->
</div>

<div class="wrapper" ng-if="isLogin">
    <!-- Main Header -->
    <header class="main-header" ng-include="'layout/header.html'"></header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar" ng-include="'layout/sidebar.html'"></aside>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>{{content.titleName}}</h1>
        </section>
        <!-- Main content -->
        <section class="content container-fluid" ng-include="content.testSrc">
        </section>
        <!-- /.content -->

    </div>
    <!-- /.content-wrapper -->
    <footer class="main-footer" ng-include="'layout/footer.html'"></footer>

</div>
<!-- ./wrapper -->




</body>
</html>